using System;

namespace B.S.Domain.Dto.WuLiaoDto
{
    public class BOMDTO
    {
        /// <summary>
        /// BOM主键
        /// </summary>
        public int BomId { get; set; }
        
        /// <summary>
        /// BOM编码(产品物料表)
        /// </summary>
        public string Materialcode { get; set; }
        
        /// <summary>
        /// BOM名称(产品物料表)
        /// </summary>
        public string Bname { get; set; }
        
        /// <summary>
        /// 版本
        /// </summary>
        public decimal version { get; set; }
        
        /// <summary>
        /// 产品类型表ID
        /// </summary>
        public int type { get; set; }
        
        /// <summary>
        /// 用量
        /// </summary>
        public int dosage { get; set; }
        
        /// <summary>
        /// BOM 描述
        /// </summary>
        public string describe { get; set; }
        
        // 从物料类型表获取的信息
        public string MaterialTypeName { get; set; }
        public int MaterialTypeId { get; set; }
        
        // 从物料群组表获取的信息
        public string MaterialGroupName { get; set; }
        public int MaterialGroupId { get; set; }
        
        // 从产品物料表获取的信息
        public string ProductName { get; set; }
        public string Specifications { get; set; }
        public string Unit { get; set; }
        public string ProductDescribe { get; set; }
        public int ProductId { get; set; }
        
        // 从工艺路线表获取的信息
        public string ProcessrouteName { get; set; }
        public string ProcessrouteType { get; set; }

    }
}